@import "./../../../assets/style.less";

.content {
  width: 100%;
  height: e('calc(100% - 43px)');
  .left {
    float: left;
    height: 100%;
    width: 300px;
    transition: width 1s;
    -moz-transition: width 1s; /* Firefox 4 */
    -webkit-transition: width 1s; /* Safari 和 Chrome */
    -o-transition: width 1s; /* Opera */
    //   padding: 15px 0;
    background-color: #333;
    color: #fff;
    //   overflow:;
    position: relative;
    .pushBtn {
      background-color: #444;
      cursor: pointer;
      position: absolute;
      width: 50px;
      height: 50px;
      line-height: 50px;
      right: -50px;
      text-align: center;
      font-size: 20px;
      border-top-right-radius: 6px;
      border-bottom-right-radius: 6px;
      top: e('calc(50% - 25px)');
    }
    .searchBox {
      padding: 15px 0;
      width: 80%;
      margin: auto;
      .search {
        position: relative;
        input {
          width: 90%;
          padding: 0 5%;
          outline: none;
          font-size: 18px;
          height: 30px;
          line-height: 30px;
        }

      }

    }
  }
  .hideLeft {
    width: 0;
    .searchBox {
      display: none;
    }

    //   overflow: hidden;
  }
  .right {
    float: left;
    display: inline-block;
    height: 100%;
    overflow: auto;
    width: e('calc(100% - 300px)');
    .box {
      width: 10%;
      height: 100%;
      float: left;
      margin-right: 1%;
      overflow: auto;
      //&:nth-child(1){
      //    width: 200px;
      //}
      //&:nth-child(2){
      //    width: 200px;
      //}
      //&:nth-child(3){
      //    width: e('calc(100% - 400px)');
      //}
    }

    .box2 {
      width: 75%;
      height: 100%;
      float: right;
      margin-right: 1%;
      overflow: auto;
      //&:nth-child(1){
      //    width: 200px;
      //}
      //&:nth-child(2){
      //    width: 200px;
      //}
      //&:nth-child(3){
      //    width: e('calc(100% - 400px)');
      //}
    }
    ul {
      width: 90%;
      margin: 20px auto;
      padding: 0;
      li {
        list-style: none;
        //   display: inline-block;
        padding: 3px 10px;
        margin: 2px;
        border: 1px solid #eee;
        cursor: pointer;
        &:hover {
          background-color: #ececec;
        }
        input {
          width: 100%;
          outline: none;
          height: 20px;
          line-height: 20px;
          font-size: 14px;
        }
      }
    }
  }
  .rightFull {
    width: 100%;
  }
}
